<ul class="nav nav-tabs nav-stacked">
    <?php if (in_array('content/banner/index', $path)) { ?>
        <li <?php if ($pathInfo == 'content/banner/index') echo 'class="on"' ?>><a
                href="/content/banner/index">banner管理</a>
        </li>
    <?php } ?>
    <?php if (in_array('content/classes/index', $path)) { ?>
        <li <?php if ($pathInfo == 'content/classes/index') echo 'class="on"' ?>><a
                href="/content/classes/index">课程管理</a>
        </li>
    <?php } ?>
    <?php if (in_array('content/active/index', $path)) { ?>
        <li <?php if ($pathInfo == 'content/active/index') echo 'class="on"' ?>><a
                href="/content/active/index">活动管理</a>
        </li>
    <?php } ?>
    <?php if (in_array('content/info/index', $path)) { ?>
        <li <?php if ($pathInfo == 'content/info/index') echo 'class="on"' ?>><a
                href="/content/info/index">资讯管理</a>
        </li>
    <?php } ?>
    <?php if (in_array('content/teachers/index', $path)) { ?>
        <li <?php if ($pathInfo == 'content/teachers/index') echo 'class="on"' ?>><a
                href="/content/teachers/index">讲师管理</a>
        </li>
    <?php } ?>
    <?php if (in_array('content/book/index', $path)) { ?>
        <li <?php if ($pathInfo == 'content/book/index') echo 'class="on"' ?>><a
                href="/content/book/index">书本管理</a>
        </li>
    <?php } ?>
    <?php if (in_array('content/log/index', $path)) { ?>
        <li <?php if ($pathInfo == 'content/log/index') echo 'class="on"' ?>><a
                href="/content/log/index">登录日志</a>
        </li>
    <?php } ?>
    <?php if (in_array('content/reserve-phone/index', $path)) { ?>
        <li <?php if ($pathInfo == 'content/reserve-phone/index') echo 'class="on"' ?>><a
                href="/content/reserve-phone/index">预留电话</a>
        </li>
    <?php } ?>
    <?php if (in_array('content/ad/index', $path)) { ?>
        <li <?php if ($pathInfo == 'content/ad/index') echo 'class="on"' ?>><a
                href="/content/ad/index">文案管理</a>
        </li>
    <?php } ?>
    <?php if (in_array('content/recommend/index', $path)) { ?>
        <li <?php if ($pathInfo == 'content/recommend/index') echo 'class="on"' ?>><a
                href="/content/recommend/index">重点推荐</a>
        </li>
    <?php } ?>
    <?php if (in_array('content/evaluation/index', $path)) { ?>
        <li <?php if ($pathInfo == 'content/evaluation/index') echo 'class="on"' ?>><a
                href="/content/evaluation/index">评价管理</a>
        </li>
    <?php } ?>
    <?php if (in_array('content/calendar/index', $path)) { ?>
        <li <?php if ($pathInfo == 'content/calendar/index') echo 'class="on"' ?>><a
                href="/content/calendar/index">考试日历</a>
        </li>
    <?php } ?>

    <?php if (in_array('content/examroom/index', $path)) { ?>
        <li <?php if ($pathInfo == 'content/examroom/index') echo 'class="on"' ?>><a
                href="/content/examroom/index">考场管理</a>
        </li>
    <?php } ?>

    <?php if (in_array('content/examroom/image', $path)) { ?>
        <li <?php if ($pathInfo == 'content/examroom/image') echo 'class="on"' ?>><a
                href="/content/examroom/image">考场背景图管理</a>
        </li>
    <?php } ?>


    <?php if (in_array('content/case/index', $path)) { ?>
        <li <?php if ($pathInfo == 'content/case/index') echo 'class="on"' ?>><a
                href="/content/case/index">案例管理</a>
        </li>
    <?php } ?>
    <?php if (in_array('content/block/index', $path)) { ?>
        <li <?php if ($pathInfo == 'content/block/index') echo 'class="on"' ?>><a
                href="/content/block/index">友情链接</a>
        </li>
    <?php } ?>
    <?php if (in_array('content/education/index', $path)) { ?>
        <li <?php if ($pathInfo == 'content/education/index') echo 'class="on"' ?>><a
                href="/content/education/index">学历管理</a>
        </li>
    <?php } ?>
    <?php if (in_array('content/information/index',$path)){?>
        <li <?php if ($pathInfo == 'content/information/index') echo 'class="on"' ?>><a
                    href="/content/information/index">第三方资讯管理</a>
        </li>
    <?php }?>
    <?php if (in_array('content/hot-active/index',$path)){?>
        <li <?php if ($pathInfo == 'content/hot-active/index') echo 'class="on"' ?>><a
                    href="/content/hot-active/index">热门活动管理</a>
        </li>
    <?php }?>
    <?php if (in_array('content/write/index',$path)){?>
        <li <?php if ($pathInfo == 'content/write/index') echo 'class="on"' ?>><a
                    href="/content/write/index">写作机经</a>
        </li>
    <?php }?>
    <?php if (in_array('content/speak/index',$path)){?>
        <li <?php if ($pathInfo == 'content/speak/index') echo 'class="on"' ?>><a
                    href="/content/speak/index">口语真题</a>
        </li>
    <?php }?>

    <?php if (in_array('content/version/index',$path)){?>
        <li <?php if ($pathInfo == 'content/version/index') echo 'class="on"' ?>><a
                    href="/content/version/index">版本控制</a>
        </li>
    <?php }?>
    <?php if (in_array('content/popup/index',$path)){?>
        <li <?php if ($pathInfo == 'content/popup/index') echo 'class="on"' ?>><a
                href="/content/popup/index">弹窗管理</a>
        </li>
    <?php }?>
</ul>
<style>
    .on {
        background: #DEDADA;
    }
</style>
